<!-- 导航栏 -->
<nav class="navbar navbar-expand-lg">
    <div class="container-fluid">
        <a class="navbar-brand" href="/">
            <i class="fas fa-graduation-cap"></i>
            StudyAtAI
        </a>
        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
            <i class="fas fa-bars"></i>
        </button>
        <div class="collapse navbar-collapse" id="navbarNav">
            <ul class="navbar-nav me-auto">
                <li class="nav-item">
                    <a class="nav-link" href="{{ url_for('page.index') }}" id="homeLink">
                        <i class="fas fa-home"></i> 首页
                    </a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="{{ url_for('page.market') }}" id="marketLink">
                        <i class="fas fa-store"></i> 应用市场
                    </a>
                </li>
            </ul>
            <div class="d-flex align-items-center">
                <a href="{{ url_for('page.settings') }}" class="btn nav-btn-small me-2">
                    <i class="fas fa-cog"></i> 设置
                </a>
                <!-- 先隐藏 -->
                <!-- <button class="btn nav-btn-small" id="loginBtn">
                    <i class="fas fa-user"></i> 登录
                </button> -->
            </div>
        </div>
    </div>
</nav> 